package com.java.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.model.hosp.Schedule;
import com.java.model.vo.ScheduleOrderVo;
import com.java.model.vo.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService extends IService<Schedule>{
    void save(Map<String, Object> paramMap);

    Page findSchedulByPage(int pageNum, int pageSize, ScheduleQueryVo scheduleQueryVo);

    void remove(String hoscode, String hosScheduleId);

    Map<String,Object> getShoduleMap(Integer pageNum,Integer pageSize,String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode,String depcode,String workDate);

    Map<String,Object> getBookingScheduleRule(int pageNum, int pageSize, String hoscode, String depcode);

    Schedule getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    //更新排班信息
    void updateSchedule(Schedule schedule);
}
